package com.hznc.wcs.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.core.data.copy.Accept;
import com.diboot.file.excel.BaseExcelModel;
import com.hznc.wcs.entity.modbusconfig.ModbusSignalPosition;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.NotNull;

/**
* Modbus信号点位 导出model定义
*
* @author MyName
* @version 1.0
* @date 2024-11-29
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
public class ModbusSignalPositionExportModel extends BaseExcelModel {

    /**
    * salve配置编码
    */
    @ExcelProperty(value = "salve配置编码")
    private String salveConfigCode;

    /**
    * salve配置Id
    */
    @ExcelProperty(value = "salve配置Id")
    private String salveConfigId;

    /**
    * salveId
    */
    @ExcelProperty(value = "salveId")
    private Long salveId;

    /**
    * 名称
    */
    @ExcelProperty(value = "名称")
    private String name;

    /**
    * 数据类型
    */
    @ExcelProperty(value = "数据类型")
    private String dataType;

    /**
    * 偏移量
    */
    @ExcelProperty(value = "偏移量")
    private String offset;

    /**
    * 备注
    */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
    * 功能码
    */
    @Accept(name = "funLabel.label")
    @ExcelProperty(value = "功能码")
    private String funLabel;
    /**
    * 读写
    */
    @Accept(name = "readWriteAccessLabel.label")
    @ExcelProperty(value = "读写")
    private String readWriteAccessLabel;
}